<template>
  <div>
    你好啊，我是高阶组件的子组件
    <p>{{ $attrs }}</p>
  </div>
</template>

<script setup lang="ts">
import { useAttrs } from 'vue'

const attrs = useAttrs()
console.log('---attrs---', attrs)
</script>
